package com.system.common.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.system.common.pojo.SysRoleUser;
import com.system.common.pojo.SysRoleUserExample;

public interface SysRoleUserMapper {
    int countByExample(SysRoleUserExample example);

    int deleteByExample(SysRoleUserExample example);

    int insert(SysRoleUser record);

    int insertSelective(SysRoleUser record);

    List<SysRoleUser> selectByExample(SysRoleUserExample example);

    int updateByExampleSelective(@Param("record") SysRoleUser record, @Param("example") SysRoleUserExample example);

    int updateByExample(@Param("record") SysRoleUser record, @Param("example") SysRoleUserExample example);
    
    SysRoleUser selectRole(String uid);
    
}